Function |to_ipv4

net/ip::|to_ipv4


Usage

|to_ipv4(text)

Parameters

↳ text: string

Return

↴ Option<Ipv4>


Parse text into an Ipv4 address, returning none if text is not a valid IPv4 address.